<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>Document</title>
	<style type="text/css">
       #box{
       	     width: 400px;
       	     height: 400px;
       	     margin: 0 auto;
       	     border: 1px solid #ccc;
       }
       ul,li{
       	    list-style: none;
       }
       #tabs{

       }
       #tabs li{
       	     float: left;
       	     width: 70px;
       	     height: 35px;
       	     margin-right: 10px;
       	     border:1px solid #ccc;
       	     line-height: 35px;
       	     text-align: center;
       }
       #tabs li a{
       	     text-decoration: none;
       	     color: #333;
       	     font-weight:bold;
       }
       .cur{
       	     background: #f00;
       }
       #content p{
       	     display: none;
       }

	</style>
</head>
<body>
	<div id="box">
		<ul id="tabs">
			<li class="cur"><a href="javascript:;;">JS</a>
			</li>
			<li><a href="javascript:;;">PS</a>
			</li>
			<li><a href="javascript:;;">JQ</a>
			</li>
			<li><a href="javascript:;;">PHP</a>
			</li>
		</ul>
		<div style="clear:both;"></div>
		<div id="content">
		    <p style="display: block;">1</p>
		    <p>2</p>
		    <p>3</p>
		    <p>4</p>
			
		</div>
	</div>
</body>
</html>